package name.hankc.spring;

import name.hankc.spring.bean.PersonEL;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class InjectValueELApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext(InjectValueConfiguration.class);
    PersonEL personEL = ctx.getBean(PersonEL.class);
    System.out.println("simple value : " + personEL);
  }
}